﻿#region History

/* -------------------------------------------------------------------------------- 
 * Project Name: JobBoard Enterprise
 * Module: Jb.Web 
 * Name: zgl.cs
 * Purpose: ViewModel class for zgl
 *                   
 * Author: Md. Hassanur Rahman
 * Language: C# SDK Version 4.0
 * --------------------------------------------------------------------------------
 * Change History:
 * Version: 1.0    MHR  08/11/2014
 * Description: Initial Development
 * -------------------------------------------------------------------------------- */

#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;


namespace Wheeler.Web.ViewModels
{
    [Serializable]
    public class ZGLViewModel : BaseViewModel
    {
        /// <summary>
        /// Gets or sets the ID
        /// </summary>
        public int ID { get; set; }

        [StringLength(45, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Name")]
        public String Name { get; set; }

        [Required(ErrorMessage = "Please Enter a Property Definition")]
        //[StringLength(65535, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Property Definition")]
        public String PropertyDefinition { get; set; }
    }
}

